<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>根据训练数据计算将来使用的输入比例参数</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.fann-set-error-log.html">« fann_set_error_log</a></li>
      <li style="float: right;"><a href="function.fann-set-learning-momentum.html">fann_set_learning_momentum »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.fann.html">Fann 函数</a></li>
    <li>根据训练数据计算将来使用的输入比例参数</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.fann-set-input-scaling-params" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fann_set_input_scaling_params</h1>
  <p class="verinfo">(PECL fann &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_set_input_scaling_params</span> &mdash; <span class="dc-title">根据训练数据计算将来使用的输入比例参数</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fann-set-input-scaling-params-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fann_set_input_scaling_params</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">resource</span> <code class="parameter">$ann</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">resource</span> <code class="parameter">$train_data</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$new_input_min</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$new_input_max</code></span><br>): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   根据训练数据计算将来使用的输入比例参数。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fann-set-input-scaling-params-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">ann</code></dt>

    <dd>

     <p class="para">神经网络 <span class="type"><span class="type 资源">资源</span></span>。</p>
    </dd>

   
   
    <dt>
<code class="parameter">train_data</code></dt>

    <dd>

     <p class="para">神经网络训练数据 <span class="type"><span class="type 资源">资源</span></span>。</p>
    </dd>

   
   
    <dt>
<code class="parameter">new_input_min</code></dt>

    <dd>

     <p class="para">
      缩放后输入数据的期望下限 (不严格遵循)
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">new_input_max</code></dt>

    <dd>

     <p class="para">
      缩放后输入数据的期望上线 (不严格遵循)
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fann-set-input-scaling-params-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">成功时返回 <strong><code>true</code></strong>，其它情况下返回 <strong><code>false</code></strong>。</p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fann-set-input-scaling-params-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.fann-set-output-scaling-params.html" class="function" rel="rdfs-seeAlso">fann_set_output_scaling_params()</a> - 根据训练数据计算将来使用的输出缩放参数</span></li>
   </ul>
  </p>
 </div>



</div></div></div></body></html>